package com.example.demo.service;

import com.example.demo.ao.ApprovalAo;
import com.example.demo.ao.ApprovalRecordAo;
import com.example.demo.ao.User;
import com.example.demo.vo.ApprovalRecordVo;
import com.example.demo.vo.ApprovalVo;

import java.util.List;

public interface ApprovalService {

    String insertApprovalInfo(ApprovalAo approvalAo);

    String insertApprovalLow(ApprovalAo approvalAo, User user);

    List<ApprovalVo> getApprovalInfoByUserId(Integer userId);


    List<ApprovalRecordVo> getApprovalRecord(Integer userId);

}
